<?php session_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../css/admin-style.css" type="text/css" media="all" />
<title>Login Page</title>
</head>

<body>
	<div style="width: 300px; margin: auto; top: 200px; position: relative;" class="table">
    <div class="box-head"><h2 class="left">Log In</h2> </div>
    <form method="post" action="../action/authenticateAction.php">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
        	<td>Tên Đăng Nhập: </td>
            <td><input type="text" name="username" id="username"/></td>
        </tr>
        <tr>
        	<td>Mật Khẩu:</td>
            <td><input type="password" name="password" id="password"/></td>
        </tr>
         <tr>
            <td colspan="2" align="center"><label class="error"><?php if(isset($_GET['login'])) echo('Tên Đăng Nhập hoặc Mật Khẩu không hợp lệ');?></label></td>
        </tr>
        <tr>
        	<td colspan="2" align="center"><input type="submit" value="Đăng Nhập" name="submit" id="submit" class="button"/> <input type="reset" name="reset" value="Xóa Ô Nhập" class="button"/></td>
        </tr>
    </table>
    </form>
    </div>
</body>
</html>